package com.pactera.madp.cp.service;

import com.pactera.madp.cp.api.entity.sensitive.SensitiveWordGroupEntity;

import java.util.List;
import java.util.Map;

public interface ISensitiveWordGroupService {

    List<SensitiveWordGroupEntity> getSensitiveWordGroupsByCorpId(Integer corpId);

    SensitiveWordGroupEntity getSensitiveWordGroupByNameCorpId(String name, Integer id, Integer corpId);

    Integer updateSensitiveWordGroupById(Integer id, String name);

    boolean createSensitiveWordGroups(Map<String, Object> mapData);

    boolean createSensitiveWordGroup(Map<String, Object> mapData);

}
